{% extends "base.html" %}
{% block content %}
<form action="{{ url_for("editpost",title = title) }}" method="post" name="editpost">
{{ form.csrf_token }}
<p>
    文章标题:<br>
    {{ form.title(size=80) }}<br>
</p>
<p>
    文章内容:<br>
    {{ form.body(id="editor") }}<br>
</p>
<p>
    文章摘要:<br>
    {{ form.summary() }}<br>
</p>
<p>
    标签:<br>
    {{ form.tag() }}<br>
</p>


<p><input type="submit" value="提交"></p>
</form>
<script src="/static/ckeditor/ckeditor.js"></script>
<script>
    CKEDITOR.replace('editor');
</script>



{% endblock %}